package com.qingyun.system.model.query;


import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

@Schema(description ="公司查询对象")
@Data
public class CompanyQueys {
    private Integer page = 1;
    private Integer size = 10;

    private String name;
    private String legalName;
    private String idCardNo;
    private String mobile;
    private String email;
    private String address;
    //时间格式化
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endTime;
}
